﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TestWork2
{
    class Program
    {
        static void Main(string[] args)
        {
            Array();
        }

        static void Human()
        {
            Human hum1 = new Human();
            hum1.HumanFirstName = "Anton";
            hum1.HumanLastName = "Isaiev";
            hum1.HumanBirthday = new DateTime(1991, 6, 7);
            Console.WriteLine(hum1.HumanFirstName);
            Console.WriteLine(hum1.HumanLastName);
            Console.WriteLine(hum1.HumanBirthday.ToString());

            Human hum2 = new Human("Anton", "Isaiev", new DateTime(1991, 6, 7));
            Console.WriteLine(hum2.HumanFirstName);
            Console.WriteLine(hum2.HumanLastName);
            Console.WriteLine(hum2.HumanBirthday.ToString());
        }

        static void Text()
        {
            TextInput tx = new TextInput();
            tx.WriteToFile();
            tx.WordCalculator();
        }

        static void Array()
        {
            OneDimensionalArray arr = new OneDimensionalArray();
            foreach (var item in arr.SummArrays(arr.MyArray(5), arr.MyArray(5)))
            {
                Console.WriteLine(item);
            }
        }
    }
}
